package com.usian.apis.article;

import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.user.dtos.AuthDto;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface AuthorControllerApi {

    public ApAuthor findByUserId(@PathVariable("id") Integer id);

    public ResponseResult saveApauthor(@RequestBody ApAuthor apAuthor);

    public ApAuthor findByName(@PathVariable("id") String name);

    public ApAuthor findById(@PathVariable("id") Integer id);

}
